package lab02.test14;

public class Test14 {
    public static void main(String[] args) {
        Rectangle r = new Rectangle();
        r.height = 2.4;
        r.width = 5.6;
        System.out.println("长方形的面积："+r.getArea());

        Circle c = new Circle();
        c.rudius = 5.2;
        System.out.println("圆的面积："+c.getArea());
    }
}
